package com.nb82.entity;

import android.app.Service;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Binder;
import android.os.IBinder;
public class BaseService extends Service {
	
	@Override
	public IBinder onBind(Intent intent) {
		return new Ibinder();
	}
	@Override
	public void onDestroy() {
		super.onDestroy();
	}
	class Ibinder extends Binder implements MyBinder{
		@Override
		public Service getService() {
			return BaseService.this;
		}
	}
	public interface MyBinder{
		public Service getService();
	}
	
}
